package cnblogs.gnuhpc.ipconvertor;

import static org.junit.Assert.*;

import org.junit.Test;

public class TestIPConvertor {

	@Test
	public void testNumToIP() {
		assertEquals("10.0.3.193",IPConvertor.numToIP(167773121));
	}
	
	@Test
	public void testIPToNum(){
		assertEquals(167773121, IPConvertor.ipToNum("10.0.3.193"));
	}

}
